.ui-cascader {
    display: inline-block;
    width: 220px;
    position: relative;
    &-reveal {
        display: flex;
        align-items: center;
        border: @border;
        border-radius: @border-radius;
        padding: 5px 10px;
        box-sizing: border-box;
        input {
            width: 100%;
            outline: none;
            border: none;
            background: transparent;
        }
        .icon-close-circle {
            font-size: 16px;
            color: @black-3;
            cursor: pointer;
            &:hover {
                color: @black-2;
            }
        }
        &-icon {
            display: inline-block;
            cursor: pointer;
            padding: 0 5px;
        }
        .icon-fangdajing,
        .icon-xiabian {
            font-size: 16px;
            color: @black-3;
            cursor: pointer;
        }
        .icon-xiabian {
            font-size: 14px;
        }
        .close-hidden {
            display: none;
        }
    }
    &-focus {
        border-color: @primary-focus;
        box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
    }
    &-panel {
        display: flex;
        height: 214px;
        box-sizing: border-box;
        position: absolute;
        margin-top: 2px;
        padding: 5px 3px 5px 5px;
        font-variant: initial;
        background-color: #fff;
        border-radius: 8px;
        outline: none;
        ::-webkit-scrollbar {
            width: 2px;
            height: 12px;
        }
        box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
        &-scroll {
            overflow-y: auto;
            height: 100%;
            min-width: 100px;
        }
        > div:last-child {
            border-right: none;
        }
    }
    &-hidden {
        display: none;
    }
    &-none {
        color: @black-3;
        text-align: center;
    }
    &-father {
        position: relative;
    }
    &-children {
        box-sizing: border-box;
        font-variant: initial;
        outline: none;
        height: 100%;
        max-width: 150px;
        overflow-y: auto;
        border-right: 1px solid #e9e5e5;
        ::-webkit-scrollbar {
            width: 2px;
            height: 12px;
        }
    }
    &-option {
        width: 100%;
        cursor: pointer;
        color: @black-1;
        padding: 2px 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        &:hover {
            background-color: @black-hover;
        }
        &-label {
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .icon-youbian {
            font-size: 14px;
            color: @black-3;
        }
    }
    &-checked {
        background-color: @primary-2;
        color: @black;
        font-weight: bold;
        &:hover {
            background-color: @primary-3;
        }
        .icon-youbian {
            font-size: 14px;
            color: @black;
        }
    }
}
